<div class="articles form">
	<h2><?php echo __d('articles','Add Article'); ?></h2>
	<div class="clear"></div>
	<div class="actions selected">
		<?php $domain_id = $this->Form->value('Article.domain_id'); if(!empty($domain_id)) echo $this->Html->link(__d('articles','Cancel'), array('controller'=>'domains','action' => 'view',$domain_id,'d'=>'articles'));?>
	</div>
	<div class="clear"></div>
	
<?php echo $this->Form->create('Article', array('type' => 'file'));?>
	<fieldset>
	<?php
		echo $this->Form->hidden('Article.id');
		echo $this->Form->hidden('Upload.domain_id');
		echo $this->Form->input('Upload.0.file', array('type' => 'file'));
		echo $this->Form->input('Upload.description');
		
	?>
	</fieldset>
<?php echo $this->Form->end(__d('articles','Submit'));?>
</div>
<?php echo $this->element('/menu/left')?>